<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>后台管理</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="__ADMIN__assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="__ADMIN__assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <script src="__ADMIN__assets/js/echarts.min.js"></script>
    <link rel="stylesheet" href="__ADMIN__assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="__ADMIN__assets/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="__ADMIN__assets/css/app.css">
    <script src="__ADMIN__assets/js/jquery.min.js"></script>

</head>

<body data-type="widgets">
<script src="__ADMIN__assets/js/theme.js"></script>
<div class="am-g tpl-g">
    <!-- 头部 -->
    <header>
        <!-- logo -->
        <div class="am-fl tpl-header-logo">
            <!--<a href="javascript:;"><img src="__ADMIN__assets/img/logo.png" alt=""></a>-->
        </div>
        <!-- 右侧内容 -->
        <div class="tpl-header-fluid">
            <!-- 侧边切换 -->
            <div class="am-fl tpl-header-switch-button am-icon-list">
                    <span>

                </span>
            </div>
            <!-- 搜索 -->
            <div class="am-fl tpl-header-search">
                <form class="tpl-header-search-form" action="javascript:;">
                    <button class="tpl-header-search-btn am-icon-search"></button>
                    <input class="tpl-header-search-box" type="text" placeholder="搜索内容...">
                </form>
            </div>
            <!-- 其它功能-->
            <div class="am-fr tpl-header-navbar">
                <ul>
                    <!-- 欢迎语 -->
                    <li class="am-text-sm tpl-header-navbar-welcome">
                        <a href="javascript:;">欢迎你, <span>{:session('admin_nickname')}</span> </a>
                    </li>

                    <!-- 退出 -->
                    <li class="am-text-sm">
                        <a href="{:url('Log/logout')}">
                            <span class="am-icon-sign-out"></span> 退出
                        </a>
                    </li>
                </ul>
            </div>
        </div>

    </header>
    <!-- 风格切换 -->
    <div class="tpl-skiner">
        <div class="tpl-skiner-toggle am-icon-cog">
        </div>
        <div class="tpl-skiner-content">
            <div class="tpl-skiner-content-title">
                选择主题
            </div>
            <div class="tpl-skiner-content-bar">
                <span class="skiner-color skiner-white" data-color="theme-white"></span>
                <span class="skiner-color skiner-black" data-color="theme-black"></span>
            </div>
        </div>
    </div>
    <!-- 侧边导航栏 -->
    <div class="left-sidebar">
        <!-- 用户信息 -->

        <!-- 菜单 -->
        <ul class="sidebar-nav">
            <!--<li class="sidebar-nav-heading">Components <span class="sidebar-nav-heading-info"> 附加组件</span></li>-->
            {foreach name="menus" item="value"}
            <li class="sidebar-nav-link">
                <a href="{:url($value['permission'])}" {if condition="$value['permission'] eq $current_item"}class="active"{/if}>
                <i class="am-icon-home sidebar-nav-link-logo"></i> {$value['name']}
                </a>
            </li>
            {/foreach}
        </ul>
    </div>


    <!-- 内容区域 -->
    <div class="tpl-content-wrapper">
        {block name="content"}{/block}
    </div>
</div>
</div>
<script src="__ADMIN__assets/js/amazeui.min.js"></script>
<script src="__ADMIN__assets/js/amazeui.datatables.min.js"></script>
<script src="__ADMIN__assets/js/dataTables.responsive.min.js"></script>
<script src="__ADMIN__assets/js/app.js"></script>
{block name="footer-js"}{/block}
</body>

</html>